from django.conf.urls.defaults import *
from prettypony.portfolio import views

urlpatterns = patterns('',
    url(r'^$',
        view=views.project_list,
        name='portfolio_default_index'),
    url(r'^(?P<slug>[-\w]+)/$',
        view=views.project_detail,
        name='portfolio_detail'),
    url(r'^page/(?P<page>[-\w]+)/$',
        view=views.project_list,
        name='portfolio_page_index'),
    url(r'^page/(?P<page>[-\w]+)/(?P<slug>[-\w]+)/$',
        view=views.project_detail,
        name='portfolio_page_detail'),
)
